//
//  OderModel.swift
//  CJXSwiftStoryboard
//
//  Created by CJX on 2016/10/27.
//  Copyright © 2016年 caijianxi. All rights reserved.
//

import UIKit

class OderModel: NSObject {

    
    var orderNumber : String?
    
    var orderDate : String?
    
    var name : String?
    
    var price : String?
    
    var status : String?
    
    
    init(dictionary:NSDictionary) {
        
        orderNumber = dictionary["orders_id"]as?String
        orderDate = dictionary["date_purchased"]as?String
        name = dictionary["order_name"]as?String
        price = dictionary["order_total"]as?String
        status = dictionary["orders_status_name"]as?String
    }
    
}
